package com.superhelper.receiver.utils;

import java.util.List;

import com.superhelper.common.utils.GeoHashKit;
import com.superhelper.common.utils.HttpClientFactory;
import com.superhelper.common.utils.HttpClientHelper;

public class MeiTuanSpidler {
    public static void main(String[] args) {

    }

    static HttpClientHelper helper;
    static {
        HttpClientFactory factory = new HttpClientFactory();
        factory.setConnectionRequestTimeout(3000);
        factory.setSocketTimeOut(5000);
        factory.setConnectionTimeout(3000);
        helper = new HttpClientHelper(factory);
    }

    public static void fetch(long latitude, long longitude) {
        String geoHash = new GeoHashKit().encode(latitude, longitude);
        List<String> shopList = getShopList(geoHash);
    }

    private static List<String> getShopList(String geoHash) {
        return null;
    }
}
